home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Games Collection 1 / software vault.zip / software vault / CDR10 / YICN23.ZIP / INCLUDE / XCBITMAP.H < prev    next >
C/C++ Source or Header  |  1992-11-17  |  1KB  |  37 lines

  1. /*-----------------------------------------------------------------------
  2. ;
  3. ; XCBITMAP - header file
  4. ;
  5. ;   This module was written by Matthew MacKenzie
  6. ;   matm@eng.umd.edu
  7. ;
  8. ;
  9. ; ****** XLIB - Mode X graphics library                ****************
  10. ; ******                                               ****************
  11. ; ****** Written By Themie Gouthas                     ****************
  12. ;
  13. ; egg@dstos3.dsto.gov.au
  14. ; teg@bart.dsto.gov.au
  15. ;
  16. ;----------------------------------------------------------------------*/
  17.  
  18. #ifndef _XCBITMAP_H_
  19. #define _XCBITMAP_H_
  20. extern "C" {
  21. extern int x_compile_bitmap (      /* Compile a linear bitmap to generate  */
  22.               WORD logical_screen_width, /* machine code to plot it at any */
  23.               char far * bitmap,      /* required screen coordinates FAST. */
  24.               char far * output);
  25.  
  26. extern int x_sizeof_cbitmap (        /* Find the size of the code which a  */
  27.               WORD logical_screen_width, /* bitmap would result in, if it  */
  28.               char far * bitmap);  /* were compiled (used for allocation). */
  29.  
  30. extern void x_put_cbitmap (        /* Displays a compiled bitmap generated */
  31.               WORD XPos,           /* by x_compile_bitmap.                 */
  32.               WORD YPos,
  33.               WORD PageOffset,
  34.               char far * CompiledBitmap);
  35. }
  36. #endif
  37.